package io.renren.modules.lanling.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.lanling.entity.QuestionRecordEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 题目记录表（记录顺序练习的题目）
 *
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-11-02 16:58:39
 */
public interface QuestionRecordService extends IService<QuestionRecordEntity> {

    PageUtils queryPage(Map<String, Object> params);

    boolean cheakAnster(String stuAnster, String trueAnster);

    void delQuestionRecordByUser(int subjectId, int studentId);

    void deleteByUserId(@Param("studentId") long studentId);
}

